package models

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Name    string `gorm:"type:varchar(20)" json:"name"`
	Age     int    `gorm:"type:int(10)" json:"age"`
	Tel     string `gorm:"type:char(11)" json:"tel"`
	Address string `gorm:"type:varchar(50)" json:"address"`
	Deng    string `gorm:"type:varchar(20)" json:"deng"`
	Quan    string `gorm:"type:enum('有','无')" json:"quan"`
}
